package com.heliang.dataaccess.dao;

import java.util.List;

import com.heliang.dataaccess.bean.InfoCatBean;
import com.hl.component.exception.DaoException;

/**
 * 
 * @ClassName: InfoCatDao.java
 * @Description: 操作资讯类别
 * 
 * @author heliang
 * @version V1.0
 * @Date 2013-10-1 上午10:09:28
 */
public interface InfoCatDao {
	/**
	 * 
	 * @Description:  批量插入资讯类别
	 * @param:        @param infoCatBeans
	 * @param:        @return    
	 * @return:       boolean    
	 * @throws 
	 * @author        heliang
	 * @Date          2013-10-1 上午10:15:39
	 */
	public boolean saveInfoCats(List<InfoCatBean> infoCatBeans)throws DaoException;

	/**
	 * 
	 * @Description:  批量删除资讯类别
	 * @param:        @param idArray
	 * @param:        @return    
	 * @return:       boolean    
	 * @throws 
	 * @author        heliang
	 * @Date          2013-10-1 上午10:16:02
	 */
	public boolean deleteInfoCats(Integer[] idArray)throws DaoException;

	/**
	 * 
	 * @Description:  查询所有资讯类别
	 * @param:        @return    
	 * @return:       List<InfoCatBean>    
	 * @throws 
	 * @author        heliang
	 * @Date          2013-10-1 上午10:16:39
	 */
	public List<InfoCatBean> findAllInfoCats()throws DaoException;
}
